package marchsoft.modules.four.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import marchsoft.base.IBasicService;
import marchsoft.base.PageVO;
import marchsoft.modules.four.admin.entity.dto.SafeCaseDTO;
import marchsoft.modules.four.common.entity.SafeCase;
import marchsoft.modules.four.common.entity.SafeType;

import java.util.List;

public interface SafeCaseService extends IBasicService<SafeCase> {

    //分页条件查询
    IPage<SafeCase> queryAll1(PageVO pageVO, SafeCaseDTO safeCaseDTO);

    //获取安全分类名称
    List<SafeType> selectAllNameSafeType();

    //新增安全案例
    void insertSafeCase(SafeCase safeCase);

    //更新安全案例
    void updateSafeCase(SafeCase safeCase);

    //删除安全案例
    void deleteSafeCase(List<Integer> id);
}
